Calculates the critical value from the student t distribution given a proportion of area and degrees of freedom.