get_metadata function

Reads metadata header from ASD file