Removed author information as it was incorrect.  I didn't create this code and don't want to take credit for it.