Added Unit testing for Math core functions