Neural Network Learning the Inverse Kinetics of an Octopus Inspired Manipulator in Three-Dimensional Space