“In the event of the winding-up of the LLP then any surplus assets of the LLP over its liabilities remaining at the conclusion of the winding-up, after payment of all money due to the creditors of the LLP ... shall be applied by the liquidator as follows. (a) First in paying to members any amount which represents undivided profits of the LLP as at the commencement of the winding up, such amount being treated as profits of the financial year in which the winding up date occurred and as divided amongst members accordingly. (b) Secondly, in repaying to the members rateably the amount standing to the credit of their capital accounts...” and then further consequential provisions are made. (c) Then “in paying any balance rateably to the A and B members in the proportions in which they shared profits of a capital nature immediately prior to the commencement of the winding up.”