Altered the equation snippet once again so that it works correctly.