Map improved, now it can deal with non uniform outputs. Input method added (very useful).