Cleaned up of other math libraries, starting exploring integration with R