A fractional order PID tuning algorithm for a class of fractional order plants