Square Every Element In Numpy Array Python Functions With Arguments