fixes issue 15; replaced mxCreateScalarDouble with mxCreateDoubleScalar