Add computeOutput functionality for FeatureMaps