Added missing <memory> headers

Change-Id: I28a8979704325f4cb2576995a045f981a95ffd78
Changing name of estimate rotations so that nonlinear rotation function can be added

Change-Id: I840fa05386dd7aaf993cd2e11ed659c0aaf1a7e6