Style tweaks
Use math::pow instead of custom expo function