Unhappy [Q] Need Help stuck in bootloop after flashing recovery

So just as the title says i decided to root my n7. Everything seemed to go smooth until my nexus 7 was stuck on the boot animation screen for about 20 minutes. I tried doing a factory reset in TWRP and it said wipe failed. I decided to flash CWM instead and do a factory reset but i couldn't. It said error mounting /data. I'm not sure what to do googling around didn't seem to work.

TWRP gave me a message saying SU is not installed after i installed the recovery so i clicked instal SU. I'm not sure if that contributed to my problem or not. Any help would be greatly appreciated.