Sphere matrix transformation for its location