Fixed bugs in gen_solver_files and removed mean from networks (for now)