added abs, fixed small bugs with metapost converter