slimmath bug fix

as per http://code.google.com/p/slimmath/issues/detail?id=19