Text this: A mechatronic system for achieving optimum alignment of lower limb prosthesis