Fixed rounding error on com_matrix. Now Runs.
Removed unused code.
Cleaning up code. still not working on google cloud compute platform