Update Matlab Visualization Routines

Addresses a number of bug fixes and the like to the Matlab plotting routines in 1d, 2d, and 3d.