RDC: option to calculate the squared deviation