coding: waycalc

Latest commit 8978897f6401 on trunk by Aaron Colichia