add pointer functions + linalg tests passed