Hi,
You are overthinking this. Why would want a lookuptable and then populate an array with the data from the lookuptable?
EITHER use an array for your data OR use a lookup table - I sugest a lookup table. Use the value from the lookupo table and load it to the dutycycle registers - don't populate an array with it's just wasting RAM. Get it working with something like 16 values, then move on the full 100 or whatever.

Then use three indexes, one for each phase to retreive the correct dutycycle value for each phase from the lookup table, just as you're doing with the arrays currently.

I know I've covered all these questions in other threads on the exact same topic. 3-phase power inverters seems to be a popular beginners project for some reason. Do a bit of searching on the forum and you should be able to find example code for 3 phase sine PWM.

/Henrik.