Grade and Homeroom probability calculation