trainSLOPE function

Train a SLOPE model