Math library officially finished. Test file added.