A grab bag of vector utility functions for 2D and 3D vectors that operate on plain arrays