I need to update an array \'pos_inst\' with the each value of [positions](which is a 4x2 array) in the given for loop. However when appending the positions array in each ite