Fixed some matrix ops, small changes to ANFIS.