Added Comments, Changed FillBucket

Commented and changed the way FillBucket works to make it simpler.