A simple general-purpose matrix library.