Woocommerce 2.1.2 compatiple

Its now working with woo commerce 2.1.2
Removed the round() function in order to apply small  changes when
using percentage