New Method of Probability Density Estimation with Application to Mutual Information Based Image Registration