Formula corrected and documentation