Modularize ChaosType and Action
Do some code cleanup
Clean up box_muller code