Calculation of protein structures from NMR data