FSAlgorithm nearly complete; must add final return vector; untested;