added pragma once
added pragma once and switched storage to [c][r] instead of [r][c]