Layout complete. Calculate function working properly.