added a script that contains the function to run the multimodal function from casper and wests JCGS paper.