I used the 'standalone_scripts_for_MNI_fsaverage_projection' to transform from MNI152 to fsaverage space. I was able to implement the following function in Matlab ...
I have ran into a new error with your toolbox. It seems that the code has run into an error when reaching the visualization step.