Implementing a C++ function to calculate TOA sum of squares matrix. Closes #7.
Updating docs.