calculate lmoments from amax record