Rectangle calculator

Enter base and height to compute area, perimeter, and diagonal.