Added some temp values to make if statement easier to read and added the radius of the protein to the comparison