Added L for lowercase and U for uppercase masks

I added L for lowercase and U for uppercase transformation on masks. please review, and if you like it merge. Also thanks for the great lib!