MatlabStan nansum function missing

I just installed and tested MatlabStan and encountered a minor problem that I want to report.
MatlabStan makes use of the function nansum in StanFit.m, which isn’t included in Matlab (anymore?).
This is easily solved by writing your own nansum function.

I opened an issue quoting your report for MatlabStan: