measureMargins.py created