The exact way of calculating mastery grades isn't public knowledge. That being said,
It’s based on the champion and role that you just played in a game. So, for example, we look at Annie mid differently to Annie support. We take a series of performance metrics and compare how you do to all other players in your region in your champion / position combination. It is percentile driven - so earning a high score means you performed in the top x% of players on that champ in that position. The grade itself governs the point gains.
(SOURCE)
Basically grades similarly to a bell curve, which in turn means that we have a server full of amazing Lulu supports.
I would suggest working on CS, objective assists, and possibly warding to bump up your grade that extra notch ♥