Change initial matrix type from int to float