Utilization of digital computers to distinguish boundaries of beds and identify sandstones from electric log data