console log statements for math.js