memory management added for math libs
Merge branch 'master' of https://github.com/naiad-auv/naiad-auv-software