added lookat function, fixed cross, added more tests