Inital tophat_shrinking.py commit