A helper for returning the cross axis for vector, given this direction.
vector
double crossAxis(Vector2 vector) { return vector[crossAxisVectorIndex]; }