added gui, z filtering & matrix transformations