Added the algorithms to find the mebedding dimension and lag time step