Cleaned up typos, more clarification on inner workings.