Finished implementing kabsch algorithm, lots of cleanup to pdb.js