Add checks to input params of solver