fixed bug in state structure name
fixed typo in index
set noiseless ad default task
fixed bug in index variable
removed extra argument
defaulted to noiseless