Triangle properties calculation WIP.