CODE UPDATE & TEST:

code updated with latest changes in devel branch.
tested for the BHZ code in parallel. Results are OK.

Ready for production.