improve sampling of results
improve sampling of results

- The final sample is now always the simulation end time
- Protection against rounding errors when all samples needed (i.e. max_int=-1)

owlas/moma,owlas/magpy,owlas/moma,owlas/moma,owlas/magpy,owlas/magpy,owlas/moma,owlas/magpy