Fixed issues with distance actions. Resolves issue #6.