Change data type in maths.h and inout.h