The "CUPID" method for calculating the continuous probability distribution of rotamers from NMR data