modified phase is between -PI and PI