Bug fix:  would not continue processing additional genes if an error occurred. Complete documentation of all functions (may still want to add inline comments).