Some random modifications

New functions: CHECK_PARAM, sortBy, setColumns, jitter