model.h: big getDistanceTo* methods were moved to *.cpp (#10)
model.h: a bit of code style fixes