Fix Issue #101 caused by empty data arrays
Fix div by zero error