Typographic errors fixed and a function name changed.