Created Based Buck Converter Equations in a class called BuckConverter