Bit of commentry

Removed a couple of magic numbers and added a couple of comments