This corrects an extra } and fixes matrix notation

Matrix notation fixed to be capital letters.