adding a dedicated trace function, support for planes added. Currently broken