updated trig functions from math to numpy also asin -> arcsin