Simulink Step Functions Algebra