Added license
Added calcCoherence.m