professor average functions now return raw numbers
fix professor average function