Added type casting priorities to functions.

This means that you can add a float and int vector and get the
result in float without explicitly casting.