Optimized Explicit Schemes: Matching and Boundary Schemes, and 4th-order Runge-Kutta Algorithm