Fixed precision issue with linear space routine
Fixed bugs in linspace for SCI-1824