Creating Room Modes in MATLAB