implemented boundary conditions and initialization of k, eps