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