Ultron's character is a play on killer-emotionless-robot when Ultron is quite literally fueled by his emotions, that's his thing
and where does he get his emotions from? His father, Hank Pym.
Hank's very own BRAINPATTERNS were used for Ultron's character, which is why-