Self-powered SoC Platform for Analysis and Prediction of Cardiac Arrhythmias