removed old code
using sin/cos to calculat zp2
added graphical display