ipermute_dim fixed. gaussian_smooth added. imageproc/clearborder added.