I now think that these functions should be removed in favor of some numpy expressions.