Fixed bug in eddist().
Added systems.