A matrix class and its various components.