Bug Fix

Fixes an issue in which the last spline in the file would not get
processed and represented.
Merge pull request #3 from mvysotskiy/misha

Bug Fix