extending Lib

added math api: mathCompare