Made minor adjustments, including fixing a single-index array
reference to double indices (does not seem to have made a difference
as the underlying array was n x 1). maybe added optimization flags to
makefile?