vistalab/vistasoft — pull request #94 by arokem (2013-12-09 01:44:56+00:00)
Title: BF: Residuals need to be considered both above and below.

Also, lsqnonlin seems to perform better than fminsearch in recovering the true
tensor parameters: https://gist.github.com/arokem/990983ad77b93f7c0559