added optimizations and cosmo_zeldovich ICs