Default Galaxy S3 Stuck in CM Boot Loop After Downgrading from CM 10.2 to 10.1.3

My phone is stuck in the CM boot loop and I can't get past it every time I turn it on. I've tried wiping the cache and dalvik cache in recovery mode but it made no difference. What do I do?