Added Four Square Integration