Fixed faulty implementation of permute function in btas/generic/permute.h. Previous version was plugging invalid indexes ii into Y.range().ordinal(ii). Fixes #55 and fixes #56.