Trouble populating a float array, please help