Pulled newest version of sim code (coeffs in array)