Bug fix: deal properly with the case when there are no segments found by getSegments()
Bumping version to 0.0.9 (still working on it). Changed makeModels() so group can be a matrix, for example, the output of bs() from library(splines)