fix bug in committor calculator