So I am writing a piece of code were one function does some scaling and returns an array of two scaling factors - those are needed in a different function. The problem here