Calculating omniwheel speed provided the wheel directions.