WIP: m_ScalesEstimator should be templated

Change-Id: Ifa2a8a6b62346ccc78338db1447747c31e50859d