Fix bug in 'getDetection()' method. When buffer is reseted, the variable denoting the size of the buffer has to be updated as well. Otherwise, it keeps the old value and goes to processing part with no data. This is the case either when a satellite rises multiple times or when the outages are greater or equal to 'minBufferSize'.
Fix bug in 'getDetection()' method. When buffer is reseted, the variable denoting the size of the buffer has to be updated as well. Otherwise, it keeps the old value and goes to processing part with no data. This is the case either when a satellite rises multiple times or when the outages are greater or equal to 'minBufferSize'.

git-svn-id: 6625e4d6743179724b113c04fbf297d122273a36@1372 108fab2b-820f-0410-9f2c-e5cc2c41d7be

ianmartin/GPSTk,ianmartin/GPSTk,ianmartin/GPSTk,ianmartin/GPSTk,ianmartin/GPSTk,ianmartin/GPSTk