SETSTATE Set the algorithm state
B=SETSTATE(A,STATE)
INPUT
A SDALG algorithm
STATE String state
'trained' algorithm is trained and ready to execute
OUTPUT
B SDALG algorithm with changed state
DESCRIPTION
SETSTATE changes the algorithm state. It is used at the end of
the training section where the untrained algorithm becomes trained.
