Thanks for the interest in the toolbox.
It could be a numerical issue. Mathematically, one can show that the egrad2rgrad operation in the fixedrankfactory_3factors factory is correct. Could you share us the code that used?
I have also attached a sample file that showed correct result last time when I ran. Could you verify this?
Regards,
Bamdev
P.S. I am on a trip and I have limited Matlab functionality.