drew phasemap fluently in JFrame and added save to jpg option