Fixed some styling and removed unused function

Fixed some styling and removed unused function

issue #23