Fixed Dependencies.

Fix dependence on algorithm.php to new algorithmDB.php