A General 3D Model for Growth Dynamics of Sensory-Growth Systems: From Plants to Robotics