Change matrix_test to remove floats.Apply

Replaced the Apply call with a small function.  Also, go fmt changed a
few other files.
Merge pull request #22 from gonum/remove-floats-apply

Change matrix_test to remove floats.Apply