Matlab solves collinear equations (formulas) and generates contours