Updated BeamSplitter to new classdef style