fixed some bounds errors in some matrix functions. some may still exist.
fixed some bounds errors in some matrix functions. some may still exist.


rrnewton/WaveScript,rrnewton/WaveScript,rrnewton/WaveScript,rrnewton/WaveScript,rrnewton/WaveScript,rrnewton/WaveScript,rrnewton/WaveScript