rev0.1

mean functions
change to matrix / inv / solve