[MIN] Calculation Safeguard
[MIN] Calculation Safeguard

* Checks for data length before performing calculation
* Avoids div/zero error in certain cases

mvidalgarcia/indico,mvidalgarcia/indico,DirkHoffmann/indico,pferreir/indico,pferreir/indico,indico/indico,ThiefMaster/indico,ThiefMaster/indico,indico/indico,mic4ael/indico,mic4ael/indico,indico/indico,DirkHoffmann/indico,mvidalgarcia/indico,DirkHoffmann/indico,ThiefMaster/indico,mvidalgarcia/indico,OmeGak/indico,pferreir/indico,mic4ael/indico,mic4ael/indico,ThiefMaster/indico,OmeGak/indico,OmeGak/indico,OmeGak/indico,indico/indico,DirkHoffmann/indico,pferreir/indico