coefficients will always return as matrix