implemented graphical display. Changed some calculations. But still
erros in calculation remaining