remove all the crazy linear algebra stuff because it doesn't work