Study finds how brain recognises prosthetic limbs