finished rewriting the jastrow part of optimizations
finished rewriting the opt and gen chapter