Add memoize decorator to cache conversion scales