Fixed function that was making Q a matrix instead of vector.
Merge pull request #21 from ldecicco-USGS/master

Fixed function that was making Q a matrix instead of vector.