Resolved Issues #16, #35, #49

Fixed bugs. Implemented Vector and Matrix in library and tests.