Migrate ScalarTransformer to use CRTP
Replace use of generic scalar callable with CRTP , i.e. the derived class itself. This easier to use (no need to explicitly define a callable, which captures the derived class)
Replace use of generic scalar callable with CRTP , i.e. the derived class itself. This easier to use (no need to explicitly define a callable, which captures the derived class)