New addition

Calculate grade layout