added Math utils class