petsvca this is a work in progress with hard coding that will only work for certain datasets etc. developmeant is in matlab 2016a/b and osx 10.12