Efficient Numerical Algorithms For Solving Nonlinear Filtering Problems