Fix Errors on Mathimatics Implement.

Signed-off-by: Sakretsos <ioannis@tavernarakis.eu>