Updated intensities and pwm to accept seperate ones