fussing around with adding a bunch of MANOVA code attempts most of which don't work