As I said the topology on this reference model isnt the greatest in some places, using a Pixar Knee here instead of whatever the fuck it had in this garbled mess of topology, way better results already in mesh shape and will have way better bends during deformation
https://youtu.be/X5Jksu5Z8AA