add 0 to 360 degree for pulse phase
pulse plot line into solid
code cleanup for krotov