Changed geometry column initialisation to spatilite recommended version
Caught a division by zero error in speed_kph
Moved checking for elevation into extractpoints from enterpoints
Changed TODO in comments