Added load function
Pass ind to estimatedRealTheta