Fixed a bug caused by spike forms some times having only two dimensions in the hmm sorting result. This would happend if there is only one spike spanning a single channel, because only a single singleton dimension is preserved