changed calc_combs to calc perms
changed calc_combs to calc perms