Initial copy from old SVN based code.

Update base experiment code with latest changes.

Code fixes to confirm with new Dispersy code.

Small fixes.

Updated code for new Dispersy.