Matrix Models of M5-Branes