Correct parsing of coefficients to 3d plotting.