fixed typo in analytical formula, and added acknowledgement for this to Sander Konijnenberg