Get position and velocity from fotran