Variable names are updated, and extraneous variables removed. The header is corrected.