started adding jquery plugin qTip2, but have not got it to work (hover appears at bottom of page, past html). some style changes. generalized matrix into a different template. added matrix template to spaciotemporal.