updates demo code to actually use new gl-matrix library