added svd processing for step detection