Get distance between points and atom on GPU

1st non-tutorial code. 
To help answer my questions @ today's skype call.