Update maths.h

Change to QAC compliance comments and add subtract functions