Adjust functions check_parameters and parametersincorrets

Functions adjusted.