Added code to output MPP classification for MATLAB plotting