A triangular pyramid has a base that is 31 feet and a height that is three times its base. What is the volume of the triangular pyramid?