SDM: Updater for the new version with dynamic face size and adaptive feature size

- Also encapsulated the sampling more and removed putInData...()
function