Fix spelling error in formatter.py

Fixed a small spelling error formatter.py (dimentions -> dimensions)