Implementation of a Magnetometer based Vehicle Detection System for Smart Parking applications