Bug Fixes And more unit tests

ToString fix.
Increased abstraction with generateNumbers and GenerateSolvedMatrix
methods.
Unit tests for field