Refactored coordinates as vectors; spheres can re-enter cells