a la mode: mode matching and beam propagation solutions for MATLAB