checkSimulParams function

Check simulation parameters