I\'m running into some trouble making a calculation over a list of elements for an equation which in result gives a list of elements for a second equation which influences t