Added some code comments
Introduced a helper method for sanity checking total sample width