Multi_D 2.0

Starting with pseudocode for the update and improved multi d analysis
code