A sum of squares package for Macaulay 2