Fixed variable types incompatibilites

Created MathFunction::iresult() functions for int-returning functions
Merge remote-tracking branch 'origin/master'