Proficiency algorithm

Second draft of proficiency algorithm implemented. Could still use some fine tuning for level breakpoints and weightings for different question levels.