A Machine Learning Approach to Contact Localization in Variable Density Three-Dimensional Tactile Artificial Skin