Task Space Behavior Learning for Humanoid Robots using Gaussian Mixture Models