Revert "updated map_to_array in model.py"

This reverts commit c32f47b4536e5be18f2de65f8e64a52b23bf26dd.
minor changes to accomodate different resolution ain each descriptor_range