Use math module and style++ in transforms.py