Text this: Sine-based barnacle mating optimization for PD control of an inverted pendulum system