A Fast Approach for Calculating the Available Flexibility of a Residential Distribution Grid