Update triaball2.m