fixed partial derivatives khan resource location