new_sclr function

Create a new sclr object