add 1e-20 to ref phase to avoid exact zero vals; update comments; remove unused code
add 1e-20 to ref phase to avoid exact zero vals; update comments; remove unused code

GeoscienceAustralia/PyRate,GeoscienceAustralia/PyRate