Relative phase calculator modules