Default Moto G Reboot Loop

I rooted my Moto G and I tried to change the screen DPI. I tried to reboot my phone, and they it went into a reboot loop. It comes up with the white root screen and then goes into a blank grey screen and stays like that for a few seconds before going to the white root screen. I tried doing stuff with the recovery options etc but nothing helped.