removing GIL requirement in many spots
cleaned print statements
speed up calculation of squareform by caching it