Fixed styling code issues and division by zero bug when base unit set to zero
Setting as beta even though module works on a production site - would be good to have some more feedback before creating a proper release