Detection And Intrusion Of Attacks In Cyber-Physical Security For Additive Manufacturing