Fixed interpolation in getYeBetaEqFromTable;
  -Better comments
  -refactoring