Double to float conversion for matrix.
Many tools for testing scaling.
merge