Fixed transition parameter indexing and shortened parameter names.
Fixed whitespace.