Alpha Mapping Script cleaned, commented and completed.