CreateDimReducObject function

Create a DimReduc object