Changed easeb to float, added macros