Removed dots in line and fixed range in phase chart
Modified phase calculator with some condition
Added SAVE_TO_FILE constant