Efficient numerical simulation code for 3D ensembles

Summary
Efficient numerical simulation code for 3D ensembles