firmata, updated algorithm to scale score better