Fixed errors in matrix.h.  Enabled viewport panning