On the modelling of the powder pattern from a nanocrystalline material