Fix mcsolve issues

* Bug in use of NUM_THREADS env variable
* Bug in storing collapse times and collapse operators in Result class