Replacing math.h with shogun/mathematics/Math.h.

According to issue 1328 i have made changes in only 2 files so that changes can be reviewed properly also i will push changes in other files in this branch subsequently.