Significant rework

Plenty more algorithms, existing element package removed (unnecessary),
much better testing package