function corr_obs(cdata::CData;real::Bool=true,rw::Union{Array{Float64,2},Nothing}=nothing,L::Int64=1,info::Bool=false,idm::Union{Vector{Int64},Nothing}=nothing,nms::Int64=Int64(maximum(cdata.vcfg)),flag_strange::Bool=false)
@@ -191,7 +188,7 @@ function corr_obs(cdata::CData; real::Bool=true, rw::Union{Array{Float64, 2}, No
end
#function corr_obs for R != 1
#TODO: vcfg with gaps
function corr_obs(cdata::Array{CData,1};real::Bool=true,rw::Union{Array{Array{Float64,2},1},Nothing}=nothing,L::Int64=1,info::Bool=false,replica::Union{Vector{Int64},Nothing}=nothing,idm::Union{Vector{Int64},Nothing}=nothing,nms::Union{Int64,Nothing}=nothing,flag_strange::Bool=false)