Bearing Capacities of Shallow Foundation Calculated by the Method of Slice