add rms and height calculation for S/N evaluation