An Area And Energy Efficient Arithmetic Unit For Stacked Machine Learning Models