Distributed Implementation of an Adaptive Controller