Merge pull request #17 from l3ullseye12/master

merged files
fixed decodeStage
Merge pull request #16 from acbrewbaker/master

fixed error in decodeStage