CalebFenton/simplify — pull request #29 by strazzere (2014-12-23 23:12:52+00:00)
Title: Fix class cast exceptions inside UnaryMathOp

Perform proper class casts to prevent exceptions
from occuring and add unit tests around them.