update maths.h, add maths.hpp