some fixed, added metrics, updated version number to 0.5_dev