Checking NaN
As Crocodyl is dealing with numerical aspects and numerical optimization, it should be worth to add some checking that will be performed only in Debug mode, to check the presence of NaN in the computations of inverse, etc.
@cmastall How far have you been checking numerical roundings and the presence of NaNs?