I would like to write a sentence which includes some reasons. In my study, I extend a method to a new one. I would like to say that I extend the first one which does something to a new one which overcomes the limitation of the first method. Here is my try:
This method extends the existing method of A, which only allow modeling bivariate dependency, to method B, which allow modeling different dependency at a time.
Is this correct? Is there a better way to express my sentence instead of repeating which?
Thank you in advance for all your help.