Edited a couple of comments and variable names for accuracy