Fixed fitting when specifying sequence indices
Cross-validation now works with better goodness-of-fit metrics