Fixed case for division by 0.
Changed layout of mainPanel to BorderLayout.
Changed textField font.
Added connection from model to controller as an interface that the controller implements. Refactored the controller so that no custom listener classes are used.