Added variable abs therby closing #5