fixed two bugs in the calculations

added paper for svd rotation.