Kazade/kazmath — pull request #25 by Cloudef (2014-03-02 20:52:09+00:00)
Title: Check for d and use kmScalars

Prevents potential divide by zero