stepdetector thread

displacement deleted, position added
FYP alignment added