Motor planning for reach memorization task in 3D space