Bug fix

Several missing closing parentheses
Documentation update