added new phaseplot figure, rewrote again