Scientists have managed to convert waste oil into biodiesel in an hour.