Cleaned up formula. Still doesn't seem to be sending the correct output for some reason.