Intelligent amputee sockets employing real time advanced photonic sensors for optimum fit and pressure relief through active controls