added fillingfraction.py
adding square tensor contractions