For this task I added two hidden layers decreasing the number of units by two at each layer. The higher number of units did not significantly improved the accuracy.
fullyConnectedLayer(512)
leakyReluLayer
fullyConnectedLayer(256)
leakyReluLayer
fullyConnectedLayer(128)
leakyReluLayer
fullyConnectedLayer(numClasses)
regressionLayer