The calculator is based on http://beersmith.com/blog/2011/07/14/keg-line-length-balancing-the-science-of-draft-beer/ which (from the comments on that site) seems not to be the best solution. Should look into alternatives/possible improvements.