Added more math functions, removed redundant abs