added initial implementation of the standingwave sim which now requires the DocOpt. Not tested yet.