handling nans, fixed error in getMatrix in Eigen:DQ
error in log, fixed