Fixing equation and documentation