square functions working appropriately - questions about syntax though a...

didn't realize we had to pull -- you'll see i committed and pushed waaayy before 9 am this morning. Hope this pull request is sufficient.