So I was just taking a casual ride up the mountain and while riding it started feeling like the the bike was bouncing. It felt like the tire had flat spot and it was causing it to be bumpy. Then I notice that the rpm needle is bouncing while I was keeping a steady throttle. I pulled over and I let it rev in neutral and it sure enough it was bouncing up and down like the fuel was cutting off and switching back on really quickly. The higher the rpm the more it bounced. So I made my way home right after and while going down the mountain it went away and hasn't came back since. Could it be that the fuel injectors were getting clogged or a loose battery terminal?