Updated demo to use glmatrix library (Zach)