Added Summary function
Fixed Triangle constructor