2013 march 7

multivariate fixed
need solution for singular matrices