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.
Same as the comment below for this one. The header does not seem to require this include.