Updated is_canonical for asin, updated definitions in functions.h