Now parameter exstimation works
vindex now works, trying to figure out how to up speed