Optimum detraction and estimation of signals with Applications to computer?