Allow 'Short's to be properly on UnaryMathOps

int-to-* can also have a 'Short' as an input parameter,
these changes prevent a class-cast exception and provide
the correct expected output.