Fixed bug in #map_from_array and implemented #map_to_lambda for GrammarDerivationRepresentation.