Step 1 is to actually get it to work, step 2 will be to clean it up and most likely reduce the amount of nodes used, step 3 is to add annotation so other people (and myself in a few months) understand whats going on, step 4 is Dynamo Player stuff.
This is step 1 mostly done.