floatMatrix has to be now converted explicit to double using .cast<double> -> ToDo check if rr and nn still need to be double