permtest() now works for portfolios in a market