implemented adaptive metropolis
updated to control adaptive metropolis step