Brownian dynamics based particle mesh simulation of ionic solutions and channels