Fit velocity gradient in moments_classic.pro