Small fixes

Update to triangle for clarity in perimeter stuffs