Imported latest VAST code and updated to version 3.0.8. Z