This version fixes a bug in the nested for loops in hash_sam_gene_align

The code is now working properly on basic examples. Tested functions are:
genecounts.m
runbowtie2.m
hash_sam_genealign.m
parse_gtf.m
set_pipeline_params.m
main_pipeline.m

To be tested:
runtophat.m