added random, tan, atan, mirrorx methods