Calculating cavity distance separately for phase and amplitude

  1. Use different coefficients for phase and amplitude when calculating distance.
  2. Load them from Settings.properties