Analytical solutions of the linearized Richards equation for discrete arbitrary initial and boundary conditions