fix: check if formula has proper type

+ GetDrawFormula tried to prase formula even if it was RPN
+ it caused segfault if RPN formula was defined in device param
fix: i2smo forwards parameters to ipk2szarp

+ one can specify params.xml also to i2smo