Added subprocess mode since BRIAN sometimes might not support pooling of processes
Refined subprocessing and fixed bug of not returning results