solves monodomain equation by finite difference