A mathematical framework for vectors, matrix, and other utils