Created some scoring functions and fixed grammar.