Ruby Standard Library - matrix