Organize solution
Tweak main.ppp

Tweak parameters, attempt to optimize distance(...).