Removed some tabs, and some accidentally copied code
String input no longer accepted
Better variable names
Shorter injects for simple sum
Frobenius norm is now calculated using the existing nrm2 method