Effects of Brownian motion on freezing of PCM containing nanoparticles