/* Example: If you have a matrix A 5 x 6 and you want to cut the values from A to matrix B with size 3 x 3 and you want to start at 0,0 and end at 3,3 Code: cut(A, 5, 6, B, 0, 2, 0, 2); // Because indexing from zero  */
void cut(double *A, int row, int column, double *B, int start_row, int stop_row, int start_column, int stop_column)
/* Example: If you have a matrix A 5 x 6 and you want to cut the values from A to matrix B with size 3 x 3 and you want to start at 0,0 and end at 3,3 Code: cut(A, 5, 6, B, 0, 2, 0, 2); // Because indexing from zero  */
void cut(double *A, int row, int column, double *B, int start_row, int stop_row, int start_column, int stop_column)
{
		memcpy(B, data, sizeof(double) * out_columns);
		B += out_columns;
		data += in_columns;
	}
}