rewrote phi optimization with loads of debug output
only process Phi Is nodes
generated documentation