Fixed parameter type issue
Place sim parameters into params struct