Added begin method to initialize sensor array more clearly