Development of novel methodologies to quantify, analyse and classify in-vivo knee function affected by aging, osteoarthritis and total knee replacement