Granulation of materials