I believe I had been using the constants wrong, so I changed them for the array and used them in calculations and readout